#ifndef PLAYERACTOR_H
#define PLAYERACTOR_H

#include <OgreCamera.h>
#include <iterator>
#include "JetActor.h"

class Actor;
class PlayerActor:public Actor
{
    public:
        virtual ~PlayerActor(){}
        virtual void Update(float timedelta) = 0;
        virtual Ogre::Camera* GetActiveCamera()
        {
            return m_cameraList[m_view];
        }
        inline JetActor* GetJetActor()
        {
            return m_jetActor;
        }
    protected:
        virtual void initCameras()
        {
            m_cameraList = *m_jetActor->GetCameraList();
            m_view = JetActorView(V_CLOSE);
        }
        JetActor* m_jetActor;
        Player*  m_player;
        unsigned int m_view;
    private:
};

#endif // PLAYERACTOR_H
